package com.jilefojing.dao;

import java.util.List;

import com.jilefojing.beans.enums.forusersession.StatusEnumForUserSession;
import com.jilefojing.beans.pojos.UserSession;
import com.jilefojing.dao.base.IBaseDao;

/**
 * 
 * @author jgshun
 * 
 */
public interface IUserSessionDao extends IBaseDao<UserSession> {

	UserSession getByUid(String uid);

	void deleteByUid(String uid);

	List<UserSession> getForUserByStatus(long userId, List<StatusEnumForUserSession> statuses);

	void updateStatusByUids(StatusEnumForUserSession status, List<String> uids);

}
